<?php
/*
Template Name: Press Template
*/
?>
<?php get_header(); ?>

  <table width="100%"><tbody><tr><td width="1%">

   <div class="posts">

		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
        <div class="post" id="post-<?php the_ID(); ?>">
          <div class="header">
          <table><tbody><tr>
            <td><div class="meta">
              <h2 class="post_title"><?php the_title(); ?></h2>
              </div>
            </td>
          </tr></tbody></table>
          </div>
          <div class="entry">
            <?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
          </div>
         <?php edit_post_link('Edit this entry.', '<div>', '</div>'); ?>

<div align="center">

<script type="text/javascript"><!--
google_ad_client = "pub-0204706481106142";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
//2007-06-28: jaybowalkin map banner
google_ad_channel = "6938523837";
google_color_border = "f9f9f9";
google_color_bg = "ffffff";
google_color_link = "1371D0";
google_color_text = "222222";
google_color_url = "008000";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

</div>

      <?php comments_template(); ?>

				<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>

        </div>
		<?php endwhile; endif; ?>

  </div>
  </td><td>

  <div class="posts">

    <?php $my_query = new WP_Query('cat=17'); ?>
    <div class="post">
          <div class="header">
        <table><tbody><tr>
          <td><div class="meta">
            <h2 class="post_title">Jason in the news</h2>
            </div>
          </td>
        </tr></tbody></table>
        </div>
        <div class="entry">There are <?php echo $my_query->post_count; ?> articles so far</div>
    </div>
		<?php if ($my_query) : ?>
			<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>

         <div class="post" id="post-<?php the_ID(); ?>">
          <div class="header">
          <table><tbody><tr>
            <td width="1%"><div class="author"><a class="author" href="<?php comment_author_link(); ?>" title="Written by <?php the_author() ?>"><img alt="<?php the_author() ?>" class="author" src="<?php comment_author_link(); ?>" /></a></div></td>
            <td><div class="meta">
              <h2 class="post_title"><a class="post_title" href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
              <div class="post_categories"><?php the_category(','); ?></div>
              <div class="post_date"><?php the_time('F jS, Y') ?> at <? the_time('g:ia'); ?></div>
              </div>
            </td>
          </tr></tbody></table>
          </div>
          <div class="entry"><?php the_excerpt(); ?></div>
      </div>

			<?php endwhile; ?>
		<?php endif; ?>

<div align="center">

<script type="text/javascript"><!--
google_ad_client = "pub-0204706481106142";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
//2007-06-28: jaybowalkin map banner
google_ad_channel = "6938523837";
google_color_border = "f9f9f9";
google_color_bg = "ffffff";
google_color_link = "1371D0";
google_color_text = "222222";
google_color_url = "008000";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

</div>

		<div class="navigation">
			<div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
			<div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
		</div>

    </div> <!-- end posts -->

  </td></tr></tbody></table> <!-- end content -->


        </div>

<?php get_footer(); ?>
